<?php 
include "../common/common_top.php";
//echo $dbConn;
?>


<table>
	<tr bgcolor="#FFFFFF">
		<td height="20" align="right"><img src="/images/btn/btn_login.gif"></td>
	</tr>
	<tr bgcolor="#FFFFFF">
		<td height="20"></td>
	</tr>
	<tr bgcolor="#FFFFFF">
		<td height="10"><img
			src="http://img0001.echosting.cafe24.com/front/type_b/image/myshop/myshop_tab_05.gif"
			border="0">영양성분분석</td>
	</tr>
	<tr bgcolor="#FFFFFF">
		<td height="10"></td>
	</tr>
	<tr bgcolor="#FFFFFF">
		<td>
			<table cellpadding="0" cellspacing="0" width="740">
				<tr bgcolor="#cccccc" height="1"><td colspan="5"></td></tr>
				<tr>
					<td align="center" width="99" class="font13_title03" height="30">성 별 : </td>
					<td align="left">
						<input type="radio" name="sex" value="M" checked>남&nbsp;&nbsp;
						<input type="radio" name="sex" value="F">여
					</td>
					<td align="center" background="/web/upload/bbs_view_bg2.gif"
						width="99" class="font13_title03" height="30">이 름 :</td>
					<td><input type="text" name="name" size="20" maxlength='40' value="">
					</td>
					<td width="5" align="center"></td>
				</tr>

				<tr bgcolor="#cccccc" height="1"><td colspan="5"></td></tr>
				<tr>
					<td align="center" width="99" class="font13_title03" height="30">나 이 : </td>
					<td align="left"><input type="text" name="age" size="20" maxlength='2' value=""></td>
					<td align="center" background="/web/upload/bbs_view_bg2.gif"
						width="99" class="font13_title03" height="30">키 :</td>
					<td><input type="text" name="height" size="20" maxlength='40' value=""> cm
					</td>
					<td width="5" align="center"></td>
				</tr>
				
				<tr bgcolor="#cccccc" height="1"><td colspan="5"></td></tr>
				<tr>
					<td align="center" width="99" class="font13_title03" height="30">몸무게 : </td>
					<td align="left" colspan="3"><input type="text" name="weight" size="20" maxlength='2' value="">kg</td>
					<td width="5" align="center"></td>
				</tr>
				
				<tr bgcolor="#cccccc" height="1"><td colspan="5"></td></tr>
				<tr>
					<td align="center" width="99" class="font13_title03" height="30">영양소 : </td>
					<td align="left" colspan="3"><input type="image" src="/images/btn/btn_add01.gif" align="absmiddle" hspace="2"></td>
					<td width="5" align="center"></td>
				</tr>
				<tr id="inputArea">
					<td align="center" width="99" class="font13_title03" height="30"></td>
					<td align="left" colspan="3">
					<?php $result = getCategory($dbConn);?>
						<select name="cate_name1">
					<?php if($result){
							while($row=mysql_fetch_array($result)){	?>
							<option value="<?=$row['cate_id']?>"><?=$row["cate_name1"]?></option>
					<?php 
							}
					?>
					<?php }else{?>
							<option>등록된 데이터가 없습니다.</option>
					<?php }?>
						</select>
					</td>
					<td width="5" align="center"></td>
				</tr>
				
				<tr bgcolor="#cccccc" height="1"><td colspan="5"></td></tr>
				<tr>
					<td align="center" colspan="5"><input type="button" value="결과 보기"></td>
				</tr>
			</table>
		</td>
	</tr>
</table>

<?php 
include "../common/common_footer.php";
?>